// LengthUnit1.h: interface for the LengthUnit class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_LENGTHUNIT1_H__9D1BC982_8718_4D3A_9D4E_AFE322D4C4F8__INCLUDED_)
#define AFX_LENGTHUNIT1_H__9D1BC982_8718_4D3A_9D4E_AFE322D4C4F8__INCLUDED_

#include "Unit.h"

class LengthUnit:public Unit 
{
public:
	LengthUnit(const Amount& factor, const string& str);
	static const LengthUnit& getMile();
	static const LengthUnit& getYard();
	static const LengthUnit& getFeet();
	static const LengthUnit& getInch();
	static const Unit* getBaseUnit();
	static UnitVector& getUnitSeq();
	void setUnitSeq();
};


#define MILE LengthUnit::getMile()
#define YARD LengthUnit::getYard()
#define FEET LengthUnit::getFeet()
#define INCH LengthUnit::getInch()

#endif // !defined(AFX_LENGTHUNIT1_H__9D1BC982_8718_4D3A_9D4E_AFE322D4C4F8__INCLUDED_)
